XIQS Gsm Port Update

From IQsimWiki

Jump to: navigation, search

XIQS Gsm Port Update - Gsm Port Management

Description
updateXIQSGsmPort ( String id_port , ... )
Update one or more existing Gsm Port object(s) whose Id is specified as first parameter. Following parameters after this one are all optional.
Parameters

String id_port

Gsm Port Id comma (',') separated list

[String portimei] (named)

Set a default IMEI needed for local (physical) SIM(s).

[String slidformat] (named)

Generate a default IMEI needed for local (physical) SIM(s).
Format should be composed from at least 1 to maximum 3 range numbers surrounded by '[' & ']', and numbers separated by '-'. If a fixed number is specified (no '-' character), no random generation is done unless for '[0]' that means totally random number generation.

i.e. following are valid SLID format:
Slid format Slid generated result exemple
[123456][12][0-123456] 123456 12 905008
[0-1234][0-99][0-123456] 000017 18 003441
[123456][12] 123456 12 015764
[123456][12][0] 123456 12 027598
[123456][12][00] 123456 12 000000
[123456] 123456 81 027421
Return Values
Return Code
Integer: OK = 1

Error Data structure ( Error Management )

 Possible failure code returns
*ERR_CMD_SYNTAX (400) XIQS ERROR MESSAGES
*ERR_OBJ_NOT_FOUND (404) ERR_MSG_PORT_NOT_FOUND
*ERR_UNAUTHORIZED (401) ERR_MSG_OBJ_NOT_OWNED
*ERR_SRV_INTERNAL (500) ERR_MSG_NO_DB
See Also

getXIQSGsmPortList

Personal tools
Namespaces
Variants
Views
Actions
Navigation
XIQS XML Protocol
XIQS Framework Libraries
XIQS Command List